package org.seedltd.upms.enums;


import org.seedltd.core.base.BaseTagEnum;

/**
 * @author laizuan
 * @version 1.0
 * @date 2020/7/23 22:57
 */
public enum UserEnableStatus implements BaseTagEnum<Integer> {
    ENABLE(1, "启用", "success"),
    DISABLE(0, "禁用", "warning"),
    CANCEL(2, "注销", "danger");

    private final Integer value;
    private final String desc;
    private final String tagType;

    UserEnableStatus(Integer value, String desc, String tagType) {
        this.value = value;
        this.desc = desc;
        this.tagType = tagType;
    }

    @Override
    public String getDesc() {
        return desc;
    }

    @Override
    public Integer getValue() {
        return value;
    }

    @Override
    public String getTagType() {
        return tagType;
    }
}
